#!/bin/sh

oldver=${1%-r[0-9]*}

if which xmlcatalog > /dev/null; then
	xmlcatalog --noout --del \
		"file:///usr/share/xml/docbook/xsl-stylesheets-$oldver" \
		etc/xml/catalog
fi
